package com.abl.core.service.mt;

import com.abl.core.domain.db.MtRoomUserAuth;
import com.abl.core.domain.mt.MtLiveRoomVo;

import java.util.List;

/**
 * 会议室内部逻辑
 */
public interface MtLiveRoomService {

    //当前房间信息
    MtLiveRoomVo roomInfo(String mtId);

    //申请连麦
    boolean applyTop(String mtId);

    //同意连麦
    boolean agreeTop(String userId, String mtId);

    //拒绝连麦
    boolean refuseTop(String userId, String mtId);

    //连麦列表
    List<MtRoomUserAuth> topList(String mtId);

    //我的信息
    MtRoomUserAuth myInfo(String mtId);

    //通知房主有人申请上麦
    void sendApplyTopMsg(String applyUserId, String mtId);

    void sendRefreshTopList(String mtId);

    boolean outTop(String userId, String mtId);
}
